function [ output ] = formatMatrix( matrix )
    % converts the matrix format from the format we are using to the one
    % that is compatible with our classifiers
    train_feature_1 = horzcat(matrix{1,1}, matrix{2,1}, matrix{3,1});
    train_feature_2 = horzcat(matrix{1,2}, matrix{2,2}, matrix{3,2});
    train_feature_3 = horzcat(matrix{1,3}, matrix{2,3}, matrix{3,3});
    output = [train_feature_1' train_feature_2'  train_feature_3'];
end

